# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=imake
pkgver=1.0.9
pkgrel=3
pkgdesc="X Windows make utility"
url="https://www.x.org"
arch="all"
license="custom"
options="!check"  # No test suite.
makedepends="util-macros xorgproto"
subpackages="$pkgname-doc"
source="https://ftp.x.org/pub/individual/util/imake-$pkgver.tar.xz"

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

sha512sums="
e7587cf80369c8f4fcc1207c13bcb74a53d838b504ac8a7f3b98fb8f5f595cc7b8e5e9fad50cadcf40cf27bd02ef4eae7fe458854bbed7bea27d474d66520644  imake-1.0.9.tar.xz
"
